package com.yaoxun.bored.common;

import java.util.Date;

import javax.persistence.Column;

public class BaseModel {

	@Column(name="create_time")
	private Date createTime;
	
	@Column(name="modify_time")
	private Date modifyTime;
	
	@Column(name="create_id")
	private Integer createId;

	@Column
	private Integer modifyId;
	
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

	public Integer getCreateId() {
		return createId;
	}

	public void setCreateId(Integer createId) {
		this.createId = createId;
	}

	public Integer getModifyId() {
		return modifyId;
	}

	public void setModifyId(Integer modifyId) {
		this.modifyId = modifyId;
	}

	@Override
	public String toString() {
		return "BaseModel [createTime=" + createTime + ", modifyTime=" + modifyTime + ", createId=" + createId
				+ ", modifyId=" + modifyId + "]";
	}

}
